#Requires AutoHotkey v2.0
A_Clipboard := "" ; 清空剪贴板
if !ClipWait(10)
{
    MsgBox "The attempt to copy text onto the clipboard failed."
    return
}
MsgBox "clipboard = " A_Clipboard
return




